]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspacesView: Fix typo
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 19 Oct 2012 18:03:05 +0000 (20:03 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 23 Oct 2012 16:27:07 +0000 (18:27 +0200)
We want to check for a setting, not the existence of a function.

https://bugzilla.gnome.org/show_bug.cgi?id=686487

js/ui/workspacesView.js

index 811432758c70209f260ff3933d533d8d59ee67ec..c5c1e672e660660e70239c593fd35ee60d0459ea 100644 (file)
@@ -928,7 +928,7 @@ const WorkspacesDisplay = new Lang.Class({
             let monitors = Main.layoutManager.monitors;
             let m = 0;
             for (let i = 0; i < monitors.length; i++) {
-                if (this._workspacesOnlyOnPrimaryChanged &&
+                if (this._workspacesOnlyOnPrimary &&
                     i != this._primaryIndex)
                     continue;